import { _Hooks as p } from './Hooks.js';
import { Marked as i } from './Instance.js';
import { _Lexer as o } from './Lexer.js';
import { _Parser as n } from './Parser.js';
import { _Renderer as f } from './Renderer.js';
import { _TextRenderer as l } from './TextRenderer.js';
import { _Tokenizer as u } from './Tokenizer.js';
import {
  changeDefaults as a,
  _getDefaults as m,
  _defaults as d,
} from './defaults.js';
import './helpers.js';
import './rules.js';
const s = new i();
function e(r, t) {
  return s.parse(r, t);
}
e.options = e.setOptions = function (r) {
  return s.setOptions(r), (e.defaults = s.defaults), a(e.defaults), e;
};
e.getDefaults = m;
e.defaults = d;
e.use = function (...r) {
  return s.use(...r), (e.defaults = s.defaults), a(e.defaults), e;
};
e.walkTokens = function (r, t) {
  return s.walkTokens(r, t);
};
e.parseInline = s.parseInline;
e.Parser = n;
e.parser = n.parse;
e.Renderer = f;
e.TextRenderer = l;
e.Lexer = o;
e.lexer = o.lex;
e.Tokenizer = u;
e.Hooks = p;
e.parse = e;
const O = e.options,
  z = e.setOptions,
  H = e.use,
  L = e.walkTokens,
  P = e.parseInline,
  h = e,
  M = n.parse,
  b = o.lex;
export {
  p as Hooks,
  o as Lexer,
  i as Marked,
  n as Parser,
  f as Renderer,
  l as TextRenderer,
  u as Tokenizer,
  d as defaults,
  m as getDefaults,
  b as lexer,
  e as marked,
  O as options,
  h as parse,
  P as parseInline,
  M as parser,
  z as setOptions,
  H as use,
  L as walkTokens,
};
